package net.esj.basic.dao.hibernate;

import javax.sql.DataSource;

import net.esj.basic.core.engine.datasource.SourceLocale;

/**
 * hibernate的数据源封装，一切使用hibernate的方法都从这里开始
 * 
 * @author Administrator
 *
 */
public class HibernateSourceLocale implements SourceLocale<HibernateSessionLocale> {

	private HibernateSessionLocale source;
	
	@Override
	public HibernateSessionLocale getSourceLocale() {
		return source;
	}

	@Override
	public void setSource(Object source) {
		this.source = (HibernateSessionLocale) source;
	}

}
